#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Author:Taotie Ren


import logging

# logging.warning("user [Tom] attempted wrong password more than 5 times")
# # logging.critical("server is down")

logging.basicConfig(filename='example.log',level=logging.INFO)
logging.debug("This message should go to the log file")
logging.info("So should this")
logging.warning("And this ,too")











